<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>动脉会员注册</title>    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	
	<link rel="stylesheet" type="text/css" href="/Themes/Default/CommonStyle.css">
	
	<script type="text/javascript" src="Js/RegistInit.js"></script>
	<script type='text/javascript' src='/HappyGo/dwr/interface/NameValdate.js'></script>
	<script type='text/javascript' src='/HappyGo/dwr/interface/EmailValdate.js'></script>
	<script type='text/javascript' src='/HappyGo/dwr/interface/VercodeValdate.js'></script>
  	<script type='text/javascript' src='/HappyGo/dwr/engine.js'></script>
  		
	</head>
  <body>
 	<script type="text/javascript">
 		function refresh()
 		{
 			document.getElementById("authImg").src = 'loginCheckImg?now='+new Date();
 		}
 	</script>
   	<s:form action="Regist.action" method="post" cssClass="frame">
        <H2 align="center" class="regTitleFront">&nbsp;</H2>
   	    <div align="center">
   	      <TABLE class="regTable" >

   	          <TR class="tr">
   	            <TD class="tdR">请填写您的Email地址：</TD>
                <TD class="tdM">
                	<s:textfield id="txtEmail" name="email" cssClass="input" onblur="txtEmail_check()"/>
				</TD>
                <TD class="tdL">
				<span id="tipEmail">请填写有效的Email地址,用于接收本站最新信息。</span>
				</TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">设置您在动脉网的昵称：</TD>
                <TD class="tdM">
                  	<s:textfield id="txtNickNam" name="name" cssClass="input" onblur="txtNickName_check()"/>             
                </TD>       
                <TD class="tdL">
                    <span id="tipName">您的昵称可以由小写英文字母、数字组成长度4－20个字符。</span>  
                </TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">&nbsp;</TD>
   	            <TD class="tdM">&nbsp;</TD>
                <TD class="tdL">&nbsp;</TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">设置密码：</TD>
                <TD class="tdM"><s:password id="txtLPassword" name="loginPwd" cssClass="input" onblur="txtLPassword_check()"/>              
              </TD>
                <TD  class="tdL">
                	<span id="tipLPwd">您的密码可以由大小写英文字母、数字组成，长度6－20。</span>
               </TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">再次输入您设置的密码：</TD>
                <TD class="tdM">
                	<s:password id="txtLRepeatePass" name="loginPwd2" cssClass="input" onblur="txtLRepeatPass_check()"/>              
              	</TD>
                <TD  class="tdL"><span id="tipLPwd2"></span></TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">设置支付密码：</TD>
                <TD class="tdM">
                	<s:password id="txtPPassword" name="payPwd" cssClass="input" onblur="txtPPassword_check()"/>             
               </TD>
                <TD  class="tdL">
                	<span id="tipPPwd">此处密码用于支付商品时应用。</span>
                </TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">再次输入您设置的支付密码：</TD>
                <TD class="tdM"><s:password id="txtPRepeatePass" name="payPwd2" cssClass="input" onblur="txtPRepeatPass_check()"/>      
               </TD>
                <TD  class="tdL"><span id="tipPPwd2"></span></TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">&nbsp;</TD>
   	            <TD class="tdM">&nbsp;</TD>
                <TD class="tdL">&nbsp;</TD>
   	          </TR>           
   	          <TR class="tr">
   	            <TD class="tdR">设置您的密码提问：</TD>
                <TD class="tdM"><s:textfield id="txtQues" name="question" cssClass="input" onblur="txtQuestion_check()"/>              
               </TD>
                <TD class="tdL">
                	<span id="tipQues">用于找回密码时的提问,不能超过50字节。</span>
                </TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">设置您的密码答案：</TD>
                <TD class="tdM"><s:textfield id="txtAnswer" name="answer" cssClass="input" onblur="txtAnswer_check()"/>              
              </TD>
                <TD class="tdL">
                <span id="tipAnswer">用于找回密码时的回答,不能超过50字节。</span>
                </TD>
   	          </TR>
   	          <TR class="tr">
   	            <TD class="tdR">验证码：</TD>
                <TD colspan="2">
                	<s:textfield id="txtVer" name="vercode" cssClass="yzm_input" onblur="txtVer_check()"/>
	               	<img id="authImg" name="d" src="loginCheckImg"/>
	               	<span id="tipVer" style="font-size: 12px;margin-left: 15px;">请填写正确的验证码</span>               
	               	<a href="#" onclick="refresh()" style="font-size: 12px;margin-left: 10px;">看不清楚？换个图片</a>
              	</TD>
              </TR>
          </TABLE>
          <br>
          <input id="ckCheck" name="checkbox" type="checkbox" checked="checked" onclick="showRegister()"/>
          <span>我已阅读并同意《<a href="#" target=_blank>动脉网交易条款</a>》和《<a href="#" target=_blank>动脉网用户使用条款</a>》</span>         
           <br>
          <div>
          	<input id="validatemsg" type="button" class="btnEnter" value="注 册" onclick="regist()"/>
          	<s:submit id="btnRegister"  cssStyle="display:none;"></s:submit>
          </div>
        </div>
   	     <div align="center">
   	       <s:fielderror/>
         </div>
   	</s:form>
  </body>
</html>
